﻿#region

using System.Collections.Generic;
using xConnected.Core.Interfaces.Paging;
using xConnected.Core.Interfaces.Service;
using xConnected.Core.Model;
using xConnected.Core.Model.ViewModel;

#endregion

namespace xConnected.Service
{
    public partial class ExpertProfileService : BaseService<ExpertProfile>, IExpertProfileService
    {
        #region IExpertProfileService Members

        public int GetExpertProfilesCount()
        {
            return Repository.GetExpertProfilesCount();
        }

        public List<ExpertProfile> GetExpertProfiles(int startIndex, int count)
        {
            return Repository.GetExpertProfiles(startIndex, count);
        }

        public IPage<ExpertProfile> AdvancedPagedSearchedAll(AdvancedSearchModelProfile ExpertProfile)
        {
            return Repository.AdvancedPagedSearchedAll(ExpertProfile);
        }

        public IPage<ExpertProfile> AdvancedPagedSearchedSome(AdvancedSearchModelProfile ExpertProfile)
        {
            return Repository.AdvancedPagedSearchedSome(ExpertProfile);
        }

        #endregion
    }
}